package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.qbdms.model.SysOrgDeploy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统部署方式管理, 信息数据库操作类
 *
 * @author zzy
 * @date 2020-08-03 15:43:36
 */
@Mapper
public interface SysOrgDeployDao extends IBaseMapper<SysOrgDeploy,String> {

    List<SysOrgDeploy> queryAll(QueryFilter queryFilter);

    /**
     * 获取指定单位下的所有下级单位的部署方式
     * @param supid
     * @return
     */
    public List<SysOrgDeploy> getAllSonDeply(@Param("supid")String supid);

}
